package com.yellow.courierservice.exception;

/**
 * @author: hy
 * @create: 2024-04-09
 */
public class UnableToGrabOrderException extends RuntimeException {

    // 默认构造器
    public UnableToGrabOrderException() {
        super();
    }

    // 带有详细信息的构造器
    public UnableToGrabOrderException(String message) {
        super(message);
    }

    // 带有原因的构造器，用于链式异常
    public UnableToGrabOrderException(String message, Throwable cause) {
        super(message, cause);
    }

    // 只有原因的构造器
    public UnableToGrabOrderException(Throwable cause) {
        super(cause);
    }
}

